package com.tjc.junit;

import com.tjc.junit.exception.EqualException;

public class Assert {
    public static boolean assertEquals(int i, int result) {
        if (i != result)
            throw new EqualException(String.format("expect: {} actually: {}",i, result));
        return true;
    }
}
